package crud.client.data.authentication;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

public class User implements Serializable, IsSerializable
{
	private String name;
	private Authentication authentication;
	
	public User()
	{
	}
	
	public User(String name, Authentication authentication)
	{
		super();
		this.name = name;
		this.authentication = authentication;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public Authentication getAuthentication()
	{
		return authentication;
	}
	public void setAuthentication(Authentication authentication)
	{
		this.authentication = authentication;
	}
	
	
}
